.app-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

h1 {
  text-align: center;
  color: #333;
  margin-bottom: 30px;
}

.section {
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(33,150,243,0.06);
  margin-bottom: 24px;
  background: #fff;
  padding: 24px;
}

h2 {
  margin-top: 0;
  color: #444;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
}

.form-group {
  margin-bottom: 15px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: #333;
  font-weight: 500;
}

/* 输入框统一样式 */
input, select, textarea {
  border-radius: 6px;
  border: 1px solid #d0d0d0;
  padding: 8px 12px;
  font-size: 15px;
  transition: border 0.2s;
}
input:focus, select:focus, textarea:focus {
  border-color: #2196F3;
  outline: none;
}

.form-group input[type="text"],
.form-group input[type="password"] {
  width: 100%;
}

.form-group.checkbox {
  display: flex;
  align-items: center;
}

.form-group.checkbox input[type="checkbox"] {
  margin-right: 8px;
}

.button-group {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

/* 统一按钮样式 */
.primary-button, .secondary-button {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s, box-shadow 0.2s;
  box-shadow: 0 1px 2px rgba(33,150,243,0.04);
}
.primary-button {
  background: #2196F3;
  color: #fff;
}
.primary-button:hover {
  background: #1976D2;
}
.secondary-button {
  background: #f5f5f5;
  color: #333;
}
.secondary-button:hover {
  background: #e0e0e0;
}
.primary-button:disabled, .secondary-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.status-message {
  margin-top: 15px;
  padding: 10px;
  border-radius: 4px;
  font-size: 14px;
}

.status-message.error {
  background: #ffebee;
  color: #c62828;
}

.loading-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid #2196F3;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-left: 8px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.key-status {
  margin: 15px 0;
  padding: 10px;
  background: #f5f5f5;
  border-radius: 4px;
}

.status-info {
  font-size: 15px;
  color: #444;
  line-height: 1.8;
}

.status-info p {
  margin: 5px 0;
}

/* 步骤条统一风格 */
.step-indicator {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding: 0 20px;
}
.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  flex: 1;
}
.step-number {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #e0e0e0;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 8px;
  font-size: 18px;
}
.step.completed .step-number {
  background: #2196F3;
  color: #fff;
}
.step.current .step-number {
  background: #1976D2;
  color: #fff;
}
.step-title {
  font-size: 15px;
  color: #666;
  text-align: center;
}
.step.completed .step-title {
  color: #2196F3;
}
.step.current .step-title {
  color: #1976D2;
}
.step-line {
  position: absolute;
  top: 17px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: #e0e0e0;
  z-index: -1;
}
.step.completed .step-line {
  background: #2196F3;
}

/* 服务器卡片预留添加按钮 */
.server-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.add-server-btn {
  background: #fff;
  color: #2196F3;
  border: 1px solid #2196F3;
  border-radius: 6px;
  padding: 6px 14px;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: background 0.2s, color 0.2s;
}
.add-server-btn:hover {
  background: #2196F3;
  color: #fff;
}

.warning-text {
  color: #f44336;
  font-size: 14px;
  margin-top: 10px;
  padding: 8px;
  background-color: #ffebee;
  border-radius: 4px;
  border-left: 4px solid #f44336;
}

.center-title {
  text-align: center;
  margin: 0 auto 30px auto;
  font-size: 2.2rem;
  font-weight: bold;
  letter-spacing: 2px;
}